package com.fy.common.model.im;

public class MessageModel extends CommandBaseModel{
    private Long to;

    private Long clientMessageId;                      //客户端生成的消息id
    private Long messageId;                            //服务器生成的全局唯一消息id
    private Long sendTime;                             //消息的发送时间
    private Integer contentType;                       //消息类型
    private Integer size;                              //消息长度
    private String tenantId;                              //租户id
    private Long toGroup;                              //群id
    private String thumbnail;                           //缩略文件地址

    private String dateStr;

    public Long getTo() {
        return to;
    }

    public void setTo(Long to) {
        this.to = to;
    }


    public Long getClientMessageId() {
        return clientMessageId;
    }

    public void setClientMessageId(Long clientMessageId) {
        this.clientMessageId = clientMessageId;
    }

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public Long getSendTime() {
        return sendTime;
    }

    public void setSendTime(Long sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getContentType() {
        return contentType;
    }

    public void setContentType(Integer contentType) {
        this.contentType = contentType;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @Override
    public String getTenantId() {
        return tenantId;
    }

    @Override
    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getToGroup() {
        return toGroup;
    }

    public void setToGroup(Long toGroup) {
        this.toGroup = toGroup;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }
}
